package cn.com.guage.monitor.log.hikair.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.guage.monitor.log.hikair.domain.User;
import cn.com.guage.monitor.log.hikair.mapper.UserMapper;
import cn.com.guage.monitor.log.hikair.service.UserService;

@Service
public class UserServiceImpl implements UserService {
    
    @Autowired
    private UserMapper userMapper;

    @Override
    public void addUser(User user) {
        userMapper.addUser(user);
    }

	@Override
	public List<User> selectUserListByUser(User user) {
		 List<User> list = userMapper.selectUserListByUser(user);
		return list;
	}

}
